package com.pkx.cloud.fse7.dms.deviceread.service;

import com.pkx.cloud.fse7.dms.deviceread.entity.DeviceRead;
import com.pkx.cloud.mybatis.comn.BaseSev;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * 门禁控制器子设备 服务类
 *
 * @author ly
 * @since 2020-10-14
 */
public interface DeviceReadService extends BaseSev<DeviceRead> {

    /**
     * 分页列表
     *
     * @param deviceRead
     * @return
     */
    Page<DeviceRead> pageList(Page page, DeviceRead deviceRead);

    /**
     * 列表查询
     *
     * @param deviceRead
     * @return
     */
    List<DeviceRead> listByEntity(DeviceRead deviceRead);

    /**
     * 详情
     *
     * @param id
     * @return
     */
    DeviceRead selectById(Long id);

    List<DeviceRead> getAll();

    List<DeviceRead> getByRids(Set<String> ids);

    List<DeviceRead> getDmsDevice(List<String> list);

    String getByReadId(String id);
}
